package com.cleaningcloud.cld.service;

import com.cleaningcloud.cld.domain.CldTrainReceive;
import com.cleaningcloud.cld.domain.dto.CldTrainReceiveDto;
import com.cleaningcloud.cld.domain.vo.CldTrainReceiveVo;

import java.util.List;

/**
 * 受训人信息Service接口
 *
 * @author cleaningcloud
 * @date 2024-10-26
 */
public interface ICldTrainReceiveService {
    /**
     * 查询受训人信息
     *
     * @param trainReceiveId 受训人信息主键
     * @return 受训人信息
     */
    CldTrainReceive selectCldTrainReceiveByTrainReceiveId(Long trainReceiveId);

    /**
     * 查询受训人信息列表
     *
     * @param cldTrainReceive 受训人信息
     * @return 受训人信息集合
     */
    List<CldTrainReceiveVo> selectCldTrainReceiveList(CldTrainReceiveDto cldTrainReceive);

    /**
     * 新增受训人信息
     *
     * @param cldTrainReceive 受训人信息
     * @return 结果
     */
    int insertCldTrainReceive(CldTrainReceive cldTrainReceive);

    /**
     * 修改受训人信息
     *
     * @param cldTrainReceive 受训人信息
     * @return 结果
     */
    int updateCldTrainReceive(CldTrainReceive cldTrainReceive);

    /**
     * 批量删除受训人信息
     *
     * @param trainReceiveIds 需要删除的受训人信息主键集合
     * @return 结果
     */
    int deleteCldTrainReceiveByTrainReceiveIds(Long[] trainReceiveIds);

    /**
     * 删除受训人信息信息
     *
     * @param trainReceiveId 受训人信息主键
     * @return 结果
     */
    int deleteCldTrainReceiveByTrainReceiveId(Long trainReceiveId);
}
